const _0x200f = [
    '695340bAcweV',
    '82484owkarG',
    'readFileSy',
    'pznUg',
    'utf-8',
    'onfig.json',
    '456006mXOLeW',
    'writeFileS',
    'nspector-c',
    '975271DJWbgn',
    'ync',
    '../cocos-i',
    'saveConfig',
    'existsSync',
    'ZgyJl',
    '34429XEwVDM',
    '1Aeoejm',
    '639965IjGelQ',
    'join',
    'config.jso',
    'readConfig',
    '4OWtyiG',
    '703555QmUQyt',
    'path',
    'stringify',
    'parse'
];
const _0x596e81 = _0xdc93;
(function (_0x3d292b, _0x2893c8) {
    const _0x46fb52 = _0xdc93;
    while (!![]) {
        try {
            const _0x439a27 = -parseInt(_0x46fb52(0x9d)) + parseInt(_0x46fb52(0xa8)) + -parseInt(_0x46fb52(0xb2)) + parseInt(_0x46fb52(0xad)) + -parseInt(_0x46fb52(0xac)) * parseInt(_0x46fb52(0xa6)) + parseInt(_0x46fb52(0xb1)) + parseInt(_0x46fb52(0xa7)) * -parseInt(_0x46fb52(0xa0));
            if (_0x439a27 === _0x2893c8)
                break;
            else
                _0x3d292b['push'](_0x3d292b['shift']());
        } catch (_0x46686e) {
            _0x3d292b['push'](_0x3d292b['shift']());
        }
    }
}(_0x200f, -0x4 * -0x1f477 + -0xb3f15 + 0x95670));
function _0xdc93(_0x20ffa7, _0x1e2948) {
    _0x20ffa7 = _0x20ffa7 - (0xfde + -0x22b0 + 0x136d * 0x1);
    let _0x182378 = _0x200f[_0x20ffa7];
    return _0x182378;
}
let fs = require('fs'), path = require(_0x596e81(0xae)), _configPath = path[_0x596e81(0xa9)](__dirname, _0x596e81(0xaa) + 'n'), __parentConfig = path[_0x596e81(0xa9)](__dirname, _0x596e81(0xa2) + _0x596e81(0x9f) + _0x596e81(0x9c));
global[_0x596e81(0xab)] = () => {
    const _0x267ffa = _0x596e81, _0x304204 = { 'pznUg': _0x267ffa(0x9b) };
    let _0x11762f = '';
    return fs[_0x267ffa(0xa4)](__parentConfig) ? _0x11762f = fs[_0x267ffa(0xb3) + 'nc'](__parentConfig, { 'encoding': _0x304204[_0x267ffa(0xb4)] }) : _0x11762f = fs[_0x267ffa(0xb3) + 'nc'](_configPath, { 'encoding': _0x304204[_0x267ffa(0xb4)] }), JSON[_0x267ffa(0xb0)](_0x11762f);
}, global[_0x596e81(0xa3)] = _0x10d002 => {
    const _0x2c785c = _0x596e81, _0x5800c0 = { 'ZgyJl': _0x2c785c(0x9b) };
    let _0x1e8f77 = JSON[_0x2c785c(0xaf)](_0x10d002);
    fs[_0x2c785c(0x9e) + _0x2c785c(0xa1)](__parentConfig, _0x1e8f77, { 'encoding': _0x5800c0[_0x2c785c(0xa5)] });
};